/*
 * @Author: Jiraiya
 * @Date: 2020-04-27 15:49:58
 * @LastEditors: Jiraiya
 * @LastEditTime: 2020-04-27 17:06:33
 * @Description: 
 */
export default (req, res) => {
    res.statusCode = 200
    res.setHeader('Content-Type', 'application/json')
    res.setHeader('set-cookie', `wangwei=12312312; path=/; max-Age=1000000`)
    res.setPreviewData({})
    res.end(JSON.stringify({ name: 'home' }))
}